package paytreasure.po;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 支付宝钱来钱往表
 * @author xhh
 * @date 2017年7月12日 
 *
 */
public class Moneyinout {

	private String moneyId;          //钱来钱往id
	
    private int people;              //人数
    
    private String accountsIn;       //与他人转账转入
    
    private String accountsOut;      //与他人转账转出
    
    private String redIn;            //红包转入
     
    private String redOut;           //红包转出

    private String rewardIn;         //打赏转入
    
    private String rewardOut;        //打赏转出

    private String payment;          //信用卡还款
    
    private String transferBank;     //转到银行卡
     
    private String antPay;           //蚂蚁花呗

    private Date createDate;         //创建日期
    
    private String yearMonth;

    private Date createTime;         //创建时间
     
    private String creater;          //创建者
    
    private Date updateTime;       //修改时间
     
    private String remark;           //备注
    
    private int status;              //状态
    
	
	public String getMoneyId() {
		return moneyId;
	}

	public void setMoneyId(String moneyId) {
		this.moneyId = moneyId;
	}

	public int getPeople() {
		return people;
	}

	public void setPeople(int people) {
		this.people = people;
	}

	public String getAccountsIn() {
		return accountsIn;
	}

	public void setAccountsIn(String accountsIn) {
		this.accountsIn = accountsIn;
	}

	public String getAccountsOut() {
		return accountsOut;
	}

	public void setAccountsOut(String accountsOut) {
		this.accountsOut = accountsOut;
	}

	public String getRedIn() {
		return redIn;
	}

	public void setRedIn(String redIn) {
		this.redIn = redIn;
	}

	public String getRedOut() {
		return redOut;
	}

	public void setRedOut(String redOut) {
		this.redOut = redOut;
	}

	public String getRewardIn() {
		return rewardIn;
	}

	public void setRewardIn(String rewardIn) {
		this.rewardIn = rewardIn;
	}

	public String getRewardOut() {
		return rewardOut;
	}

	public void setRewardOut(String rewardOut) {
		this.rewardOut = rewardOut;
	}

	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public String getTransferBank() {
		return transferBank;
	}

	public void setTransferBank(String transferBank) {
		this.transferBank = transferBank;
	}

	public String getAntPay() {
		return antPay;
	}

	public void setAntPay(String antPay) {
		this.antPay = antPay;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
		if(createDate!=null){
			this.yearMonth = new SimpleDateFormat("yyyyMM").format(createDate);
		}
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

    
}